import pandas as pd
import numpy as np

import os


def get_path(*paths):
    """自动定位到项目根目录，并拼接路径"""
    try:
        root = os.path.dirname(os.path.dirname(__file__))
    except NameError:
        root = os.getcwd()
    return os.path.join(root, *paths)
